feat: 문서 요청 초안 조회와 근로자 모바일 링크 연동 - #122
Merged
Merged
Conversation
14 tasks
hywznn
marked this pull request as ready for review
August 8, 2026 13:40
krestar
approved these changes
Aug 8, 2026
krestar
left a comment
Contributor
There was a problem hiding this comment.
초안 조회와 Worker Link 실제 콘텐츠 연동 흐름 확인했습니다.
tenant 범위 검증과 초안 미준비 시 409 처리, 기존 링크 오류 계약도 잘 유지된 것으로 보입니다.
테스트 범위도 충분해 보여 승인합니다.
Contributor
|
전체적으로 확인했습니다! 깔끔합니다 혹시, #119 머지 된 다음에 머지해주실 수 있을까요! |
chaeliki
approved these changes
Aug 8, 2026
Contributor
Author
대기합니다 ~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 필요한가요?
문서 요청 초안은 저장만 가능해 새로고침 후 내용과 version을 복구할 수 없었습니다. 또한 근로자 공개 링크는 실제 초안 대신 임시 안내문과 null 제출기한을 반환했습니다.
Closes #121
무엇이 바뀌나요?
GET /api/v1/tasks/{taskId}/document-request-draft를 추가했습니다.guidance,language,due_date,requested_document_types를 반환합니다.409 WORKER_LINK_CONTENT_NOT_READY를 반환합니다.task,document_request_draft,document_request_draft_type의SELECT만 허용하고 RLS 격리를 검증합니다.API 영향
HR 초안 복구
근로자 공개 링크
{ "guidance": "여권 사본과 근로계약서를 제출해 주세요.", "language": "vi", "due_date": "2026-08-20", "requested_document_types": ["PASSPORT_COPY", "CONTRACT"], "allowed_responses": ["CONFIRMED", "QUESTION", "NOT_UNDERSTOOD", "DOCUMENT_SUBMITTED"] }검증
DocumentSecurityIntegrationTest성공WorkerLinkSecurityIntegrationTest성공PostgreSqlRestrictedRoleHttpE2ETest성공./gradlew clean test— BUILD SUCCESSFUL